public class Test {
    public static void main(String[] args) {
        SingleList singleList1=new SingleList();
        singleList1.create();
        /*SingleList singleList2=new SingleList();
        singleList2.lastInsert(1);
        singleList2.lastInsert(2);
        singleList2.lastInsert(255);*/

        SingleList singleList3=new SingleList();
        //singleList1.display();
        //singleList1.headInsert(0);

        //singleList1.lastInsert(6666);
        //singleList1.display();
        //singleList1.indexInsert(3,222222);
        //boolean a=singleList1.contain(56);
        singleList1.display();
        System.out.println("---------");
        //singleList1.delectFirstKey(5);
        //singleList1.deleteAllKey(1);
        //singleList1.reverse();
        //SingleList.note mid= singleList1.findReciprocal(3);
        //System.out.println(mid.val);
        //singleList1.display();
        //SingleList.note t=singleList1.mergeList(singleList1.head,singleList2.head);
        //singleList1.display(t);
        SingleList.note t=singleList1.splitX(4);
        SingleList.display(t);
    }
}
